package com.uwo.house.dao;

import com.uwo.house.beans.Role;
import com.uwo.house.beans.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by yanhao on 2017/7/13.
 */
@Repository
public interface RoleMapper {

    List<Role> selectByUserid(@Param(value = "uid") String uid);

    int save(Role role);

    int modify(Role role);

    int remvoe(@Param(value = "id") Long id);

}
